package com.hulu.yec.teach.testpaper.entity;

import java.util.List;

public class PaperConditionEntity {  
	private String name;
	private String courseName;
	private int state;
	List<String> courseNameList;
	//获取课程表中的id和父节点pId
	private int courseId;
	private int pid;
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	//状态：1、有效；2、无效
	public String getStateStr(){
		if(state == 1){
			return "有效";
		}else{
			return "无效";
		}
		
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public List<String> getCourseNameList() {
		return courseNameList;
	}
	public void setCourseNameList(List<String> courseNameList) {
		this.courseNameList = courseNameList;
	}

	
}
